package com.maxiaowei.design.pattern.creational.factrorymethod;

/**
 * 功能描述:
 * 作者: maxiaowei
 */
public class Test {
    public static void main(String[] args) {
        VideoFactory videoFactory1 = new JavaVideoFactory();
        VideoFactory videoFactory2 = new PythonVideoFactory();
        VideoFactory videoFactory3 = new FEVideoFactory();
        Video video = videoFactory1.getVideo();
        video.produce();

    }
}
